<@mits.headerDiv />
<div class="Main" id="Main">
	<!--屏幕切换-->
	<!--左边-->

	<!--右边-->
	<div class="Main_body" id="Main_body">
		<div class="Main_right_top">
		  <div class="Main_bodyListBar_head">搜索条件 </div>
		 <br>
		 <form method="post" action="" id="myform" name="myform">
		 			<table border="0" cellspacing="1" cellpadding="0" class="addTable" >
                        <tr>
                            <td class="title">时间段：</td>
                          <td class="content" >
			<input type="text" class="input_calendar" readonly onclick="displayCalendar('',$('startDate'),'yyyy-mm-dd',this)" name="startDate" id="startDate" value="<#if  startDate?exists>${startDate?if_exists}</#if>"/>
			～
			<input type="text" class="input_calendar" readonly onclick="displayCalendar('',$('endDate'),'yyyy-mm-dd',this)" name="endDate" id="endDate" value="<#if  endDate?exists>${endDate?if_exists}</#if>"/>
			</td>
			<td class="content" align="right">
			<input type="button"  value="查询" class="button" onclick="search(0)"/> 
			 </td>
			 </tr>
			 </table >
		</form>		</div>	
		<div class="Main_right_line"></div>
		
		  <div class="Main_bodyListBar">
				<div class="Main_bodyListBar_head"><span>操作日志列表</span> </div>
				<@mits.showActionMsg />
				
	    <div class="Main_bodyListBar_body">
				  <table border="0" cellpadding="0" cellspacing="0" class="listTable">
					<tr>
					  
					  <th nowrap>操作人员</th>
					  <th nowrap>操作内容</th>
					  <th nowrap>操作状态</th>
					 <th nowrap >操作时间</th>
			        </tr>

                    <#if result?exists>
                      <#assign operationRecordes = result.content>
                	<#list operationRecordes as operationRecorde>
		                    <tr >
		                       <td>${operationRecorde?if_exists.user?if_exists.userName?if_exists}&nbsp;</td>
		                       <td>${operationRecorde?if_exists.operationContent?if_exists}&nbsp;</td>
		                       <td>${operationRecorde?if_exists.operationResult?if_exists}&nbsp;</td>
		                       <td>
		                      ${operationRecorde?if_exists.operationDate?if_exists} 		                    
		                 </td>
		                    </tr>
                    </#list>
			 <@mpage.fillLine pageSize, result.content.size(), 4/>
                <tr class="foot">
                  <td colspan="4">
                    <#assign page = result.page>
                    <script language = 'JavaScript'>
                        function changePage(cpage){
                          // window.location="${base}/auth/system/operationRecordList.action?cleanSucMsg=true&currentPage="+cpage;
                           search(cpage);
                        }
                    </script>
                    <@mpage.showPageInfo page/>
                  &nbsp;</td>
                </tr>
                </#if>
				  </table>
			</div>
				<div class="Main_bodyListBar_bottom">
				  <div class="Main_bodyListBar_button"> 
				  </div>
					
				</div>
			<div class="Main_bodyListBar_foot"></div>
		  </div>
		</div>
	
</div>
<script lanague ="javascript">
 function search(cpage) {
  $('myform').action = "${base}/auth/system/operationRecordList.action?cleanSucMsg=true&currentPage="+cpage;
  $('myform').submit();
 }
 </script>
<@mits.footerDiv />


